﻿/// <reference name="MicrosoftAjax.js"/>

(function () {
    var scriptName = "TemplateBehavior";
    var e = null;

    function execute() {

        Type.registerNamespace("SCS");

        SCS.TemplateBehavior = function (element) {
            SCS.TemplateBehavior.initializeBase(this, [element]);

        }

        SCS.TemplateBehavior.prototype = {
            initialize: function () {
                SCS.TemplateBehavior.callBaseMethod(this, 'initialize');

                // Add custom initialization here
            },
            dispose: function () {
                //Add custom dispose actions here

                SCS.TemplateBehavior.callBaseMethod(this, 'dispose');
            }
        }
        SCS.TemplateBehavior.registerClass('SCS.TemplateBehavior', Sys.UI.Behavior);

        if (typeof (Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();

    } // execute

    if (window.Sys && Sys.loader) {
        Sys.loader.registerScript(scriptName, null, execute);
    }
    else {
        execute();
    }

})();
